package com.golf.core.course.bodies;

import java.awt.Color;

import net.phys2d.raw.Body;


public class CourseBoundary implements CourseBody
{

	private CourseBody body;
	
	private int id;
	
	
    public CourseBoundary(final CourseBody body)
    {
        this.body = body;
    }

	public Body asPhysicsBody() 
	{
		return body.asPhysicsBody();
	}

	public String name() 
	{
		return body.name();
	}
	
    public int getId()
    {
        return id;
    }
    
    public void setId(final int id)
    {
        this.id = id;
    }	
	
	public Color color()
	{
	    // hack
	    return ((AbstractCourseBody)body).getBackground().getColour();
	}

}
